package com.leicx.guli.product.feign;

import com.leicx.guli.common.to.SkuReductionTo;
import com.leicx.guli.common.to.SpuBoundTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author daxiong
 * @date 2021/6/22 下午9:57
 */
@FeignClient(name = "gulimall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    void saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/saveSkuReduction")
    void saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
